Skip to content

Expose static summary and details fields#2827

Closed
GregoryTravis wants to merge 3 commits intomasterfrom
static-summary-details
Closed

Expose static summary and details fields#2827
GregoryTravis wants to merge 3 commits intomasterfrom
static-summary-details

Conversation

@GregoryTravis
Copy link
Copy Markdown
Contributor

These fields are set at workflow initialization, and can be retrieved from Workflow.

Unit tests for present and absent fields.

@GregoryTravis GregoryTravis requested a review from a team as a code owner April 2, 2026 16:53
@GregoryTravis GregoryTravis requested a review from mjameswh April 3, 2026 18:26

@Nullable
public static String getStaticSummary() {
Payload payload = getRootWorkflowContext().getReplayContext().getStaticSummaryPayload();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not entirely clear to me that this makes sense, and it works differently than others here. Why is getCurrentDetails on the root workflow context, but this isn't? It seems like SyncWorkflow::start also has access to the initial history event.

@GregoryTravis
Copy link
Copy Markdown
Contributor Author

Not planned.

@GregoryTravis GregoryTravis deleted the static-summary-details branch April 6, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants